﻿using Tp.Bootstrapper;
using Tp.Interfaces;

namespace Tp.Wpf.UserControlsTree
{
	public partial class TreeViewUserControl
	{
		#region Properties

		private new IViewModelLocator ViewModelLocator
		{
			get
			{
				return IoC.ServiceLocator.Get<IViewModelLocator>();
			}
		}

		#endregion

		#region C-Tor

		public TreeViewUserControl()
		{
			InitializeComponent();
			this.DataContext = ViewModelLocator.Tree;
		}

		#endregion
	}
}
